﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;


namespace MaxStudio.Concrete.Server.Interface
{
    interface IScrapConcrete
    {
        OperationResult<List<tb_RPT_ScrapConcrete>> GetAllScrapConcrete();
        OperationResult<List<tb_RPT_ScrapConcrete>> GetScrapConcreteByInputDate(DateTime inputdate);
        OperationResult<List<tb_RPT_ScrapConcrete>> GetScrapConcreteByInputDate(DateTime inputdate1, DateTime inputdate2);
        OperationResult<List<tb_RPT_ScrapConcrete>> GetScrapConcreteByContition(string strWeather, string strProjectName, string strInputDate
                                                                    , string strConstructionUnit, string strConstructionSite
                                                                    , string strIntensityLevel, string strDevelopmentTime
                                                                    , string strQuantity, string strCement, string strProductLine
                                                                    , string strApproachTo, string strCarryOn);
        OperationResult<List<tb_RPT_ScrapConcrete>> GetScrapConcreteByProjectName(string strProjectName);
        OperationResult<tb_RPT_ScrapConcrete> GetScrapConcreteById(int id);
        OperationResult<tb_RPT_ScrapConcrete>  CreateScrapConcrete(tb_RPT_ScrapConcrete entity);
        OperationResult<tb_RPT_ScrapConcrete>  ModifyScrapConcrete(tb_RPT_ScrapConcrete entity);
        OperationResult<tb_RPT_ScrapConcrete> DeleteScrapConcrete(tb_RPT_ScrapConcrete entity);



    }
}
